All Questions
Tagged with relationshipsaggregate
4 questions
1vote
2answers
3kviews
Relationship between entities in different aggregates and size of aggregate
I read a lot about DDD but few thing are still unclear. At this moment I have two dilemma The size of aggregates. How small could be an aggregate? For example we have: class Car { String colorId ...
5votes
6answers
2kviews
UML aggregation: how can the "whole" exist without its "parts"?
I understand aggregation is a "whole/part" relationship, where the "parent" class is the whole and the "child" class is the part (and this is unidirectional), and that each class exist independently (...
0votes
2answers
8kviews
Many to many relations in Domain Driven Design
I am new at domain driven design, and want to learn some about aggregates. For example I have a User and Role entities. public class User { public string Id {get; set;} public string Username ...
0votes
0answers
74views
How to model relationships in scenario where every product can (don't have to) be associated to only one category
This one still occupies my mind. How do you model 1:N relationships. Consider having a category and product (typical e-commerce scenario). Every product can (don't have to) be associated to only one ...